﻿namespace KaroEngine.Exceptions
{
    public class NotAnEmptyTileException : InvalidMoveException
    {
        public NotAnEmptyTileException()
            : base("Not an empty tile")
        {
        }

        public NotAnEmptyTileException(Move move)
            : base("Not an empty tile when moving from " + move.PositionFrom + " to " + move.PositionTo + " using tile " + move.TilePositionToMove, move)
        {
        }
    }
}